import Vue from 'vue'
import App from './App.vue'
import router from './router'
//引用vuex
import store from './store'

Vue.config.productionTip = false
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)


import axios from 'axios'
import request from '@/utils/request'
Vue.prototype.$axios = axios // 原生axios
Vue.prototype.$http = request // 封装后的request

import preventReClick from './utils/preventReClick.js';
Vue.directive('preventReClick', preventReClick);

// Vue.prototype.$imgUrl = 'http://192.168.0.117:9000/'//上传
// Vue.prototype.$imgUrl1 = 'http://192.168.0.117:9000'//上传

Vue.prototype.$imgUrl = 'http://yj.bslmedu.com/'//上传
Vue.prototype.$imgUrl1 = 'http://yj.bslmedu.com'//上传


new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
